package io.github.biezhi.elves.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import io.github.biezhi.elves.mapper.QccBiddingMapper;
import io.github.biezhi.elves.mapper.QccMapper;
import io.github.biezhi.elves.model.CompAnnualReports;
import io.github.biezhi.elves.qcc.model.CompAnalysis;
import io.github.biezhi.elves.qcc.model.CompBasic;
import io.github.biezhi.elves.qcc.model.CompBasicInfo;
import io.github.biezhi.elves.qcc.model.CompBidding;
import io.github.biezhi.elves.qcc.model.CompChangeRecord;
import io.github.biezhi.elves.qcc.model.CompQccCrawl;
import io.github.biezhi.elves.qcc.model.CompQuota;
import io.github.biezhi.elves.qcc.model.OutboundInvestment;
import io.github.biezhi.elves.service.QccBiddingService;
import io.github.biezhi.elves.service.QccService;
import lombok.extern.slf4j.Slf4j;

@Slf4j
@Service("qccBiddingService")
public class QccBiddingServiceImpl implements QccBiddingService{

	@Autowired
	private QccBiddingMapper qccBiddingMapper;
	
	@Override
	public List<CompBasic> queryCompBasic(Integer num) {
		return qccBiddingMapper.queryCompBasic(num);
	}

	@Override
	public void updateSpiderBidState(Long compId,Integer state) {
		qccBiddingMapper.updateSpiderBidState(compId,state);
	}

	@Override
	public void insertSpiderBidData(CompBidding compBidding) {
		qccBiddingMapper.insertSpiderBidData(compBidding);
	}



}
